package com.glela.order.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.glela.order.model.OrderSettlementCommision;

public interface OrderSettlementCommisionMapper {

	int insert(OrderSettlementCommision record);
	
	int insertALL(OrderSettlementCommision record);

	OrderSettlementCommision selectByorderID(@Param("order_object_id") Long order_object_id);
	
	OrderSettlementCommision selectByorderSn(@Param("order_sn") String order_sn);

	int updateStatus(@Param("errorMsg") String errorMsg,@Param("newStatus") int newStatus,@Param("noldStatus") int noldStatus,@Param("resultTime") String resultTime,@Param("id") Long id);
	
	int updateStatus1(@Param("errorMsg") String errorMsg,@Param("newStatus") int newStatus,@Param("resultTime") String resultTime,@Param("id") Long id);
	
	List<OrderSettlementCommision> selectByStatusLimitNumber(@Param("status") int status,@Param("Nums") int Nums);
}
